move compile task to a separate file, improve jsdocs
polyfills are external now, update compile task