added pure javascript versions of lab6 and lab7
added javascript version of codelabs 8 and 9