jquery implementation to step-3 added