Bugfix JS usage

Fixed JS usage.