element.style is an array like object. This fails silently except in ie8 where an exception is thrown [#84149558] Setting display inline shows buttons that should be hidden  (cast button)
use underscore indexOf on arrays
Merge pull request #225 from jwplayer/bugfix/javascript-errors

Fixed a couple small javascript errors [Delivers #84149558]