Added insightful javascript