Home image works in separate js