incredible hack job to make jsbox apps endpoint aware