added js and transitions