miscelleanous documents, JS coding