Javascript Mobile Device Gesture Detection Framework