Merge pull request #1 from KennyTang123/master

Make the PollJoy.js support AMD like Require.js.
Version 1.2.1

Add var for callbacks to handle different callbacks implementation
scenario