fixed vm pagination conflict on j2.5.x

reverted back to previous class creation method and added check for
JPaginationObject class
fixed missing yjsg_module_style class

yjsg_module_style param was not being applied to yjsgxhtml container