updated place of js references
updated script