Class rewritten without jquery dependencies v0.0.1