Making it work with jqLite