add raw js specs
finish eventqueue class