Tweaked code based off CSS lint