I feel like this would be more about validation and constraint enforcement than full on application functions.
Given that, though, JavaScript feels like a bit of an odd choice for language.