documents misc js