moved javascript into its own .js file.   worked on onmouseup/down functionality