#170 cannot equip fixed, javascript error fixed