JavaScript & CSS flat design