simplified js commands