To split html and js