JS submission