Removed globals, added myPageClass selector for multi page selections
modfied doc bloc