changed referenes to javascript files