Edit Js for loading