Moved some functions to a document ready... a bit faster now