Javascript Dynamically Create Variable Images