adding basic JS instructions