implement js* parsing