Added client javascript for simple HTTP