Replaced hardcoded aperture JS version with a variable.