Fixes issue #2 - Added compatibility with require.js, removed compatibil...

...ity with basic script inclusion.

@lotholf r?