commonjsify the deps
commonjsified the lib
update makefile, appendTo()
onload not needed in the example
put the example in the readme
merged