Cleaned with JSHint, reverted to test images