Fixing bugs in Livescript port