adding new javascript

adding new javascript with jQuery to fill the record log