Seems we have to write our own extern.js soon :/ Not sure if making an assumption (which might be meet in most cases)