syntax fixes for <IE9 compatibility