Utility JS file, more functionality added.