Script to test parser java script