Integrate AS & JS. Need to correct some initializations & settings changes.