Added js files for mathematical simulation of controller