Entando javascript utility with jQuery