Simpler definition for JS t's return and pure