fix js image reference