Update survey.js

[FIX] prefill_controller is undefined,  a page request repeat submit
in fact, this is not really a bug as it does not prevent you to use the surveys

we could just prevent the code from loading if the displayed page is not really a survey page