on-click doesnt work with lightdom attribute. Removing to elements pages load via ajax