Added javascript file with code that can call the HP API