fix js errors on welcome.js - I don't know if it does what's intended but it wont break all js on the page