leaving note
cleaning up js code