using OO way on  JS file
using OO way on  JS file