Our main javascript.