Updated the js and added effects