add jasmine test2 & modify
fix ie6 console warning