wip refactoring
js loader ready for ie6,firefox,ie8,chrome