browser vs node vs AMD - test