SMIL Clock Value Javascript check for float type