Extensions methods for JS/jquery