Example of a get with javascript.