clean up spray.js javascripts