updated with a playing with JS file