Get Css Property Javascript Foreach Break