fixed static file loading, form validation working

* added form validation in `survey/static/js/script.js`
* fixed static file loading