var $ = function (id) { return document.getElementById(id); }; für den fall das man js ohne jquery macht