Cleaned up JS with http://jsbeautifier.org/