updated js in results