mouse click events implemented, move javascript into src folder, fix references to scripts