Initial sanval .js file, this will change and evolve in the near future.