improved css and animate functions, added transform function
fixed $.each
Added polyfill for Array.prototype.map