minor fix
clean up js