Added js code to support position/duration/seekable on `canplay`