Parsing formatted as javascript