engineered some js