Fixed minor js issue.