upload javascript stuff