Added preprocess function for themng - allows overriding of theming function without needing to copy all loading of JS and CSS