fix image urls
fix javascripts for production mode