Split level with regex rather than on word ‘level’

Python uses ‘term’, and international lessons use the word level in
other languages. Regexing for a number is a more general solution.
Make phantomjs wait until js has finished running…

…or until it times out.