Fixed javascript warnings/lint errors
Fix self.currentTime not being properly initialized, breaking seek when playing from position 0
More javascript coding standards fixes
Added device.getStatus call which is used to update currentTime just before seeking in the video