Update JS, set default imageURLPrefix for testing and rtd