require JME before loading extensions

addExtension use Numbas.jme.Scope, which means jme.js needs to be loaded.
add abs(string)

also known as len(string). Returns the length of the string.