optimized mouse move events, also added some qunit cases