Set Css Attribute Javascript Interview Question