Added the detect code
Merge pull request #2 from snowmac/javascript_is_command_key

Added the detect code