Provide javascript callable functions to show and hide a loading message