javascript output fixed