Making a Client-side Javascript Framework with credits to Alex Young http://dailyjs.com/framework.html