added AMD/CommonJS export and play options
added gh-pages support