Personal common javascript utilities