Image assignment in javascript, so user can override