initial js for submitting leaveslips
merge... but cannot check bc of conflict with terms module.