A simple ajax call using scala-js