fixed js error caused by pep8-ify