[BUGFIX] Javascript fix