making javascript change background according to clock