Inlined javascript for lean development.