Update resources/javascript.js