Finished adding JSDoc for mouse handling and inputmanager