updating js for fixes