Now it works without JQuery