Removed the duplicate call back to the js file