darn another wrong js bits

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #1353 from emanuele45/last_minute

darn another wrong js bits