removed url puzzling in constructor and uncommented script on page