Tag: detect function keys in JavaScript