add rest endpoints to handle mobile: methods in addition to executeScript