Quickfix for hashtable bug in JS