Made a proper Widget coffee script class

and extra hacks!