Refactor, jslint and 'use strict' in all file