Started working on a responsive grid using javascript