Fixed JS to call Controller