JS Base and application layout