Fixed jquery-ui resource issue by copying code into application.js