fix javascript files compile sequence issue, popover.js depends on tooltip.js