improve index place view => separation html javascript