a simple javascript frame