Add getElementById to make it work on ie8