Last nights javascript experiment