adding effects js