Fix dependency on a JavaScript engine

Without it, jammit fails in dependencies. This is a quickfix. The proper
solution is to get rid of jammit. I expect this to be fixed later.