Removed unncessary JS for getting first available variant