compiling assets for backend JS