Setting the order of inclusion of JS files fixed IE compatibility issue.