added javascript

added changing background via javascript