Changed little things in JS