cleaned up js
cleaned up js