Added pages checkbox
Optimize _.extend
Optimize views