Unobtrusify javascript