Remove plugin.js from attached files on html and added inline javascript to reduce number of calls.