Parse JS file and print top level statements.