ovarlay and basic javascript functionality complete