Fixed bug where init method in webOS classes were overridden