sRevisited v1.3

indentation adjusted in function.js