volume using some Javascript