fixed js references.