javascript attempts 2013-11-12