Fixed incorrect JavaScript call