#261 this is getting too much different stuff...

Mostly fixes for account tab JS