Creating product dimension's own javascript file.