Moved frame compilation to worker
Added r.js build-related assets