simple Javascript app - learnt at SummerOFTech Bootcamp