javascript incomplete