Fixed wrong JavaScript reference