added array conversion for js and pjs as alias method
edited note