Javascript usage - base image