unnecessary dataType declaration in script.js