Use engine instead of generating javascripts into public dir.