Change the syntax of js from argument to object syntax in order cueVideo...

...ById and loadVideoById to work with endSeconds parameter.