test for load scripts before UI. Commented some javascript