fixed bug#000. separated inline js to js directory