cleaned up js_ast based on pylint and pep8