almost final version with js in happy day