prod and dev configurations for asset pipeline. Also moving embed.js to public dir