Fixed js bugs preventing from working with IE8
Version 1.0.1