cleaned up js code