More work on js tests and pull region functionality
Should be working with travis now