Initial draft without automation
Added JavaScript