More work on timer js