getById for example can return a JSVal of null. This should be an exception with a nice message.
getById
JSVal
null