fix js unity syntax