simplify deliveries subscription and jslint