fixes pep8 and jshint tests failing