removed date type from input as handled differently in chrome
removed debugging code
tidy up, remved resolution box