Switch JavaScript libs to use WebJars

Support optional CDN loading from the WebJars CDN
Remove the unused mejs lib