removed code without side effects

this raised a warning in Google Closure js compiler