updated js scripts in index