Fixed 'timeout is not defined' error.
Stopped using '/assets/themes/machado/dist' as theme base and started using '/theme'