changed root url
updated js for new root path