updated js some more