Remove js library from application.js
Fix a bug