clean up js