Pace.js is a new plugin for easily showing fancy progress bars while is your website is loading. Pace will also automatically monitor your ajax requests, event loop lag, document ready state, and elements on your page to decide the progress.
View on GithubPace.js – Progress bars for websites
Code