fix CSS syntax error
use setInterval instead of setTimeout
fix image update process