added primary mouse movement

in javascript...