fix indenting problem with javascript

@alexdavid