working js with show/hide

now, db updates and cron staging