Create a simple javascript frame