'#17 Added AMD and CJS modules support'

Add adjustable threshold for shake events