move wow init script to application.js