DOM(document).event({"DOMContentLoaded":function(){ DOM(document.getElementById("canvas")) //Element Attributes .attr({ "width":"100", "height":"100" }) //Element Styles .css({ "background-color":"rgb(255,0,0)" }); }});