Fixed order placement JS code