precompile assets with js