javascript stuff so far