merged sprite, grid and layers.js

basic merge of individual js files