Made js modules import the libraries they are using and seperated the C# format function from the string class