fixes for signup.js, etc.