Add master space and time with js