javascript for awesootup in progress. some bugs in the updating