Make receice clause syntax javascriptish