Adding in steps via javascript