JS snippet parser.