added mobile support and ie8 support