removed src from img tag and added script tag for initialization