Updating JS formatting