java-script warning