added basic Javascript document