basics for the js