updated js and design