Add a randomiser button for location

adding a randomiser function in .js, added a button here to prevent it affecting the rest of the code