Correcting the class name check (on page load)...

Correcting the class name check (on page load) for the tab wrapping
class
Renaming class name js constants