fixed sign up double click bug. also moved js from web to local