Added prefix handling to translator.js  #33